# -*- coding: utf-8 -*-
class loginPage():
    #底部控件
    def __init__(self,driver):
        self.driver = driver

    def userName(self):
        return self.driver.find_element_by_xpath('//*[@id="UserCode2"]')
    def pwdWord(self):
        return self.driver.find_element_by_xpath('//*[@id="password_PWD2"]')
    def orgCode(self,):
        return self.driver.find_element_by_xpath('//*[@id="StationCode"]')
    def submit(self):
        print('submint()')
        return self.driver.find_element_by_xpath('//*[@id="submit2"]')
    # def button(self):
    #     return self.driver.find_element_by_xpath('//*[@id="login_main"]/div/div[1]')